<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script>
        var num=0;
        for (i=1;i<=9;i++){
            for (j=1;j<=i;j++){
                num=j*i;
                document.write(j+"*"+i+"="+num);
                document.write("&nbsp;")
            }
            document.write("<br/>")
        }

    </script>
</head>
<body>

</body>
</html>